package com.wobito.pojo.vo.cabinet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @Author Wangbaba
 * @Date 2024/8/27 11:03
 * @Version 1.0
 */
@Data
@ApiModel(value = "添加柜子入参")
public class AddCabinetVO {

    @ApiModelProperty(value = "柜子编号",required = true)
    private String sequenceCode;

    @ApiModelProperty(value = "柜子名称",required = true)
    @Size(min = 2,max = 20,message = "柜子名称长度必须在2-20位之间")
    private String name;

    @ApiModelProperty(value = "区域ID",required = true)
    private Long areaId;

    @ApiModelProperty(value = "人脸摄像头ID",required = true)
    private String cameraId;

}
